package top.eggcode.modules.user.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import top.eggcode.base.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Title: 角色
 * Description: TODO
 * Date: 2021/4/7 1:20
 *
 * @author JiaQi Ding
 * @version 1.0
 */
@ApiModel("角色")
@Data
@Table(name = "auth_role")
@Entity
public class RoleEntity extends BaseEntity {

    /**
     * 名称
     */
    private String name;

    /**
     * 字符标识
     */
    private String code;

    /**
     * 备注
     */
    private String remark;

}
